package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user")
public class User implements Serializable {
    private static final long serialVersionUID = -430593838;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String nickName;

    private String password;

    private String  status;

    private String email;

    private String phonenumber;

    private String sex;

    private String  avatar;

    private String  userType;

    private Long createBy;

    private Date createTime;

    private Long updateBy;

    private Date updateTime;


    private Integer deleted;

}

